
clear
set more off
set graphics off

/*********************************************************************************
Name: MASTER.do
*********************************************************************************/

** Commands you may need to install :
/*

foreach z in clusterbs clustse egenmore estout geodist ivreg2 outreg2 ranktest winsor {
capture ssc install `z'
}

*/

//SET YOUR DIRECTORY HERE:
global DIRECTORY "xxx/Datapub_RESTAT"

* Intermediate :
do "Dofiles/Intermediate/intermediate_datasets.do"
do "Dofiles/Intermediate/verified_patients.do"
do "Dofiles/Intermediate/hw_controls.do"
do "Dofiles/Intermediate/patient_controls.do"

* Analysis :
do "Dofiles/Analysis/data_availability.do"
do "Dofiles/Analysis/patients_summary_stats.do"
do "Dofiles/Analysis/hw_summary_stats.do"
do "Dofiles/Analysis/defaults.do"
do "Dofiles/Analysis/adherence.do"
do "Dofiles/Analysis/hw_effort.do"
do "Dofiles/Analysis/detections.do"
do "Dofiles/Analysis/patients_health.do"
